# -*- coding:utf-8 -*-
"""
Created on 31.01.2010

@author: r4smus
"""

fav_color = raw_input("Wie heisst deine Lieblingsfarbe? ")

fav_color += " "

firstRow = fav_color * 10
secondRow = fav_color +" "*(len(firstRow)-len(fav_color*2)) +fav_color
thirdRow = secondRow
fourthRow = firstRow

print  firstRow
print  secondRow
print  thirdRow
print  fourthRow